package com.drg.center.entity.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author: zhangxilin
 * @Date: 2024/5/15
 */
@Data
@ApiModel("部门添加入参")
public class SysDeptAddDTO implements Serializable {

    @ApiModelProperty("部门名称")
    @NotBlank(message = "部门名称不能为空")
    private String deptName;

    @ApiModelProperty("父级部门ID")
    private Long pid;
}
